# Maintainer: Bruno Pagani <archange@archlinux.org>

pkgname=otf-latinmodern-math
pkgver=1.959
pkgrel=4
pkgdesc="Improved version of Computer Modern fonts as used in LaTeX – OpenType Math component"
arch=('any')
url="http://www.gust.org.pl/projects/e-foundry/lm-math"
license=('custom:GFL')
source=("${url}/download/${pkgname#*-}-${pkgver/.}.zip")
sha256sums=('aaaa060b4ffc091461e875efb9498b9abfa7c7a48f38eb33882868839903a4f8')

package() {
    cd ${pkgname#*-}-${pkgver/.}
    install -Dm644 ${pkgname/-//}.otf -t "${pkgdir}"/usr/share/fonts/OTF/
    install -Dm644 doc/GUST-FONT-LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/GFL.txt
}
